
#ifndef GAMEMENU_H
#define GAMEMENU_H


#include <iostream>
#include <string>
#include <SFML/Graphics.hpp>
#include <vector>
#include "var_define.h"
#include "Fighter.h"
#include "Screen.h"
#include <sstream>

class World;

using namespace std;
using namespace sf;

class GameMenu
{
    public:
        GameMenu(Fighter* perso , World* world);
        ~GameMenu();
        inline void setScreen(Screen* s) {screen = s;}
        int main();

    private:
        Screen* screen;
        int fenetreCourante;
        Event event;
        Fighter* possesseur;
        Font myFont;
        bool inventaireActive , saveActive;
        World * world;
        Image imgCurseur;
        Sprite curseur;

    private:
        void menuSelected();
        void menuStat();
        void menuInv();
        void menuSave();
        void menuQuit();
        void drawInventaire();
        void useDrop(int l, int c);
        void drawSave();


};

#endif
